GCC is a retargetable and highly optimizing implementation of ANSI C. It was written by Richard Stallman and a cast of thousands (well, scores) around the world. Although GCC was originally designed to be a Unix-based compiler, this version has been adapted to be a drop-in replacement for the standard MPW™ C compiler. This distribution includes GCC, a preprocessor CCCP (cpp), and the yacc-compatible parser generator Bison.
To use MPW™ GCC, you will need a 68020/030+68881 Macintosh™*, MPW™ 3.1 or higher, MPW™ C, and MPW™ Asm. Although you don't need the MPW™ C compiler proper, the MPW™ C interfaces and library files are required. To run the gCPlus script, you will also need C++ 3.1. Although GCC can run in 2Mb or less, we recommend 4Mb RAM. Minimum additional disk space is 600K or so, but there will need to be some additional space for intermediate files. It would be ludicrous to run GCC from floppies.
(*See the document ":Documents:Hacking GCC" for some ideas about what to do if you have some other kind of Macintosh.)
(At the moment, GCC is INCOMPATIBLE with MPW™ 3.2 includes and library files, in particular the parameter pragmas. However, if you keep your 3.1 includes and libraries and put them in your paths, you can still use the rest of 3.2. This isn't great, but GCC isn't going to understand parameter pragmas anytime soon and MPW™ 3.2 includes/libraries REQUIRE that they be interpreted correctly.)
For details of installing GCC into your environment, see ":Documents:Installing GCC".
Once you've installed GCC, ":Documents:Using GCC" tells how to use GCC with MPW™. The file ":Documents:BUGS" briefly describes some known problems.
If you need help beyond what is provided in the Documents folder, we have established some e-mail addresses that will forward to support people:
AppleLink: MPWGCC
Internet: mpwgcc@apple.com
If neither of these are available to you, you may try to contact me directly. I can be reached at
Stan Shebs
Advanced Technology Group, M/S 76-2I
Apple Computer Inc.
20525 Mariani Ave.
Cupertino CA 95014
and will be happy to help out where possible, and as time permits (this is not my main job!).
Finally, I would like to thank Wayne Loofbourrow, Mark Hennecke, Jim Murphy, Scott Douglass, Paul Snively, Larry Rosenstein and the other Appleites who have helped out with MPW™ GCC in one way or another, also Waldemar Horwat for finding lots of bugs. Jeff Holcomb deserves a special thanx for seemingly interminable testing and bug tracing, as well as designing the Commando interfaces. His efforts have been invaluable.
Stan Shebs
Apple ATG System Software
NOTE
This is not an official product of Apple Computer! MPW™ GCC was developed to support Advanced Technology Group research efforts, and was deemed sufficiently useful to be made available to a wider audience. If you use this compiler, you should be prepared to support it yourself (full sources are included). Here is the proper legal wording, also see the file ":Documents:COPYING"
for additional legalese:
Disclaimer of Warranty on Software. This software program and related documentation are provided "AS IS" and without warranty of any kind, and APPLE EXPRESSLY DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR PARTICULAR PURPOSE. APPLE DOES NOT WARRANT THAT THE FUNCTIONS CONTAINED IN THIS SOFTWARE PROGRAM WILL MEET YOUR REQUIREMENTS, OR THAT THE OPERATION OF THIS SOFTWARE PROGRAM WILL BE UNINTERRUPTED OR ERROR-FREE, OR THAT DEFECTS IN THIS SOFTWARE PROGRAM WILL BE CORRECTED. FURTHERMORE, APPLE DOES NOT WARRANT OR MAKE ANY REPRESENTATIONS REGARDING THE USE OR RESULTS OF THE USE OF THE SOFTWARE OR RELATED DOCUMENTATION IN TERMS OF THEIR CORRECTNESS, ACCURACY, RELIABILITY, OR OTHERWISE. NO ORAL OR WRITTEN INFORMATION OR ADVICE GIVEN BY APPLE OR ANY APPLE REPRESENTATIVE SHALL CREATE A WARRANTY OR IN ANY WAY INCREASE THE SCOPE OF THIS WARRANTY. SHOULD THIS SOFTWARE PROGRAM PROVE DEFECTIVE YOU, AND NOT APPLE, ASSUME THE ENTIRE COST OF ALL NECESSARY REPAIR OR CORRECTION. SOME STATES DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO THE ABOVE EXCLUSIONS MAY NOT APPLY TO YOU.
Limitation of Liability. UNDER NO CIRCUMSTANCES INCLUDING NEGLIGENCE, SHALL APPLE BE LIABLE FOR ANY INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES THAT RESULT FROM THE USE OR INABILITY TO USE THIS SOFTWARE PROGRAM OR RELATED DOCUMENTATION, EVEN IF APPLE OR AN APPLE REPRESENTATIVE HAS BEEN ADVISED OF THE POSSIBILITIES OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE LIMITATION OR EXCLUSION OF LIABILITY FOR INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THE ABOVE LIMITATION OR EXCLUSION MAY NOT APPLY TO YOU.